import request from "@/utils/request"

/**
 * @description: 会员签到统计详情
GET /s-marketing/api/member-sign/stats
接口ID：33655433
接口地址：https://www.apifox.cn/web/project/1207715/apis/api-33655433
 * @param {*} params 
 * @returns 
 */
export const signDetail = params => request.get('/s-marketing/api/member-sign/stats', params)

/**
 * @description: 会员签到
GET /s-marketing/api/member-sign/sign
接口ID：33543742
接口地址：https://www.apifox.cn/web/project/1207715/apis/api-33543742
 * @param {*} params 
 * @returns 
 */
export const sign = params => request.get('/s-marketing/api/member-sign/sign', params)

/**
 * @description: 赚取积分页面任务列表接口
GET /s-marketing/api/task/list
接口ID：33308100
接口地址：https://www.apifox.cn/web/project/1207715/apis/api-33308100
 * @param {*} params 
 * @returns 
 */
export const getTaskList = params => request.get('/s-marketing/api/task/list', params)


/**
 * @description: 任务奖励
POST /s-marketing/api/task/reward
接口ID：34714862
接口地址：https://www.apifox.cn/web/project/1207715/apis/api-34714862
 * @param {*} data 
 * @returns 
 */
export const taskReward = data => request.post('/s-marketing/api/task/reward', data)

/**
 * @description: 会员签到日志
GET /s-marketing/api/member-sign/logs
接口ID：33658998
接口地址：https://www.apifox.cn/web/project/1207715/apis/api-33658998
 * @param {*} params 
 * @returns 
 */
export const memberSignLogs = params => request.get('/s-marketing/api/member-sign/logs', params)